<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">

    <title>学生订购</title>

    <link rel="stylesheet" href="/static/css-lib/bootstrap.min.css" />
    <link rel="stylesheet" href="/static/css-lib/bootstrap-select.min.css" />

    <style>
        .header-title {
            position: absolute;
            left: 20px;
            top: 15px;
            font-size: 18px;
            color: #777;
            display: inline-block;
        }
        .header-button {
            position: absolute;
            right: 20px;
            top: 10px;
            display: inline-block;
        }
        .input-box {
            border: 1px solid #ccc;
            font-size: 14px;
            -webkit-border-radius: 0 4px 4px 0;
            -moz-border-radius: 0 4px 4px 0;
            border-radius: 0 4px 4px 0;
            width: 100%;
            background: #fff;
        }
        .select-box {
            width: 100%;
            display: flex;
            display: -webkit-flex;
            align-items: flex-start;
        }
        .select-inner-box {
            width: 33%;
            border: 1px solid #ccc;
            border-radius: 5px;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            margin-top: 5px;
            text-align: center;
        }
        .select-item {
            padding: 3px;
        }
        .select-item:hover{
            background-color: #67cfff;
        }
        .select-item-active {
            background-color: #67cfff;
        }
    </style>
</head>
<body>
    <!-- 头部信息 -->
    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="header-title">
            学生订购课程添加
        </div>
        <div class="header-button">
            <button id="submit" type="button" class="btn btn-success">提交</button>
        </div>
    </nav>

    <div class="container-fluid" style="padding-top: 60px;">
        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                <ul class="list-group">
                    <li class="list-group-item">
                        <div class="input-group" style="z-index: 5;">
                            <span class="input-group-addon">学生</span>
                            <div class="input-box">
                                <select id="student" class="form-control selectpicker" data-live-search="true">
                                    <option value="0">请选择</option>
                                </select>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                <ul class="list-group">
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">科目</span>
                            <div id="subject" class="form-control">请选择</div>
                        </div>
                        <div id="select-box" class="select-box hidden">
                            <div id="select-1" class="select-inner-box" style="margin-right: 1px;"></div>
                            <div id="select-2" class="select-inner-box" style="margin-left: 1px;margin-right: 1px;"></div>
                            <div id="select-3" class="select-inner-box" style="margin-left: 1px;"></div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                <ul class="list-group">
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">金额</span>
                            <input id="money" type="tel" class="form-control" />
                        </div>
                    </li>
                </ul>
            </div>
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                <ul class="list-group">
                    <li class="list-group-item">
                        <div class="input-group">
                            <span class="input-group-addon">课时数</span>
                            <input id="class-num" type="number" class="form-control" />
                        </div>
                    </li>
                </ul>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
                <ul class="list-group">
                    <li class="list-group-item" style="background-color: #eee;">备注</li>
                    <li class="list-group-item">
                        <textarea id="comment" maxlength="250" style="min-height: 190px;width: 100%;border: none;outline: none;"></textarea>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <!-- 错误提示框 -->
    <div id="error-box" class="modal fade" tabindex="-1" data-backdrop="false">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                    <h4 class="modal-title">错误</h4>
                </div>
                <div id="error-content" class="modal-body"></div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                </div>
            </div>
        </div>
    </div>

    <script src="/static/js-lib/jquery-3.4.1.min.js"></script>
    <script src="/static/js-lib/bootstrap-select.min.js"></script>
    <script src="/static/js-cus/admin/Console-Frame-AddStudentOrderSubject.js"></script>
</body>
</html>